#ifndef __SANTA_OPTION_H_20111228__
#define __SANTA_OPTION_H_20111228__

extern int g_optind;
extern const char* g_optarg;

struct option
{
	const char *name;
	int  has_arg;
	int  *flag;
	int  val;
};

int getopt_long (int ___argc, 
				 char *const *___argv,
				 const char *__shortopts,
		         const struct option *__longopts, 
				 int *__longind);

#endif //__SANTA_OPTION_H_20111228__

